Optimal. Leaf size=124 \[ \cosh \left (a+b \sqrt{c}\right ) \text{Chi}\left (b \left (\sqrt{c}-\sqrt{c+d x}\right )\right )+\cosh \left (a-b \sqrt{c}\right ) \text{Chi}\left (b \left (\sqrt{c}+\sqrt{c+d x}\right )\right )-\sinh \left (a+b \sqrt{c}\right ) \text{Shi}\left (b \left (\sqrt{c}-\sqrt{c+d x}\right )\right )+\sinh \left (a-b \sqrt{c}\right ) \text{Shi}\left (b \left (\sqrt{c}+\sqrt{c+d x}\right )\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.289778, antiderivative size = 124, normalized size of antiderivative = 1., number of steps used = 10, number of rules used = 5, integrand size = 18, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.278, Rules used = {5365, 5293, 3303, 3298, 3301} \[ \cosh \left (a+b \sqrt{c}\right ) \text{Chi}\left (b \left (\sqrt{c}-\sqrt{c+d x}\right )\right )+\cosh \left (a-b \sqrt{c}\right ) \text{Chi}\left (b \left (\sqrt{c}+\sqrt{c+d x}\right )\right )-\sinh \left (a+b \sqrt{c}\right ) \text{Shi}\left (b \left (\sqrt{c}-\sqrt{c+d x}\right )\right )+\sinh \left (a-b \sqrt{c}\right ) \text{Shi}\left (b \left (\sqrt{c}+\sqrt{c+d x}\right )\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5365
Rule 5293
Rule 3303
Rule 3298
Rule 3301
Rubi steps
\begin{align*} \int \frac{\cosh \left (a+b \sqrt{c+d x}\right )}{x} \, dx &=\operatorname{Subst}\left (\int \frac{\cosh \left (a+b \sqrt{x}\right )}{-c+x} \, dx,x,c+d x\right )\\ &=2 \operatorname{Subst}\left (\int \frac{x \cosh (a+b x)}{-c+x^2} \, dx,x,\sqrt{c+d x}\right )\\ &=2 \operatorname{Subst}\left (\int \left (-\frac{\cosh (a+b x)}{2 \left (\sqrt{c}-x\right )}+\frac{\cosh (a+b x)}{2 \left (\sqrt{c}+x\right )}\right ) \, dx,x,\sqrt{c+d x}\right )\\ &=-\operatorname{Subst}\left (\int \frac{\cosh (a+b x)}{\sqrt{c}-x} \, dx,x,\sqrt{c+d x}\right )+\operatorname{Subst}\left (\int \frac{\cosh (a+b x)}{\sqrt{c}+x} \, dx,x,\sqrt{c+d x}\right )\\ &=\cosh \left (a-b \sqrt{c}\right ) \operatorname{Subst}\left (\int \frac{\cosh \left (b \sqrt{c}+b x\right )}{\sqrt{c}+x} \, dx,x,\sqrt{c+d x}\right )-\cosh \left (a+b \sqrt{c}\right ) \operatorname{Subst}\left (\int \frac{\cosh \left (b \sqrt{c}-b x\right )}{\sqrt{c}-x} \, dx,x,\sqrt{c+d x}\right )+\sinh \left (a-b \sqrt{c}\right ) \operatorname{Subst}\left (\int \frac{\sinh \left (b \sqrt{c}+b x\right )}{\sqrt{c}+x} \, dx,x,\sqrt{c+d x}\right )+\sinh \left (a+b \sqrt{c}\right ) \operatorname{Subst}\left (\int \frac{\sinh \left (b \sqrt{c}-b x\right )}{\sqrt{c}-x} \, dx,x,\sqrt{c+d x}\right )\\ &=\cosh \left (a-b \sqrt{c}\right ) \text{Chi}\left (b \left (\sqrt{c}+\sqrt{c+d x}\right )\right )+\cosh \left (a+b \sqrt{c}\right ) \text{Chi}\left (b \sqrt{c}-b \sqrt{c+d x}\right )+\sinh \left (a-b \sqrt{c}\right ) \text{Shi}\left (b \left (\sqrt{c}+\sqrt{c+d x}\right )\right )-\sinh \left (a+b \sqrt{c}\right ) \text{Shi}\left (b \sqrt{c}-b \sqrt{c+d x}\right )\\ \end{align*}
Mathematica [A] time = 0.492219, size = 127, normalized size = 1.02 \[ \frac{1}{2} e^{-a-b \sqrt{c}} \left (e^{2 \left (a+b \sqrt{c}\right )} \text{ExpIntegralEi}\left (b \left (\sqrt{c+d x}-\sqrt{c}\right )\right )+e^{2 a} \text{ExpIntegralEi}\left (b \left (\sqrt{c+d x}+\sqrt{c}\right )\right )+\text{ExpIntegralEi}\left (b \left (\sqrt{c}-\sqrt{c+d x}\right )\right )+e^{2 b \sqrt{c}} \text{ExpIntegralEi}\left (-b \left (\sqrt{c+d x}+\sqrt{c}\right )\right )\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.02, size = 0, normalized size = 0. \begin{align*} \int{\frac{1}{x}\cosh \left ( a+b\sqrt{dx+c} \right ) }\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\cosh \left (\sqrt{d x + c} b + a\right )}{x}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.84215, size = 547, normalized size = 4.41 \begin{align*} \frac{1}{2} \,{\left ({\rm Ei}\left (\sqrt{d x + c} b - \sqrt{b^{2} c}\right ) +{\rm Ei}\left (-\sqrt{d x + c} b + \sqrt{b^{2} c}\right )\right )} \cosh \left (a + \sqrt{b^{2} c}\right ) + \frac{1}{2} \,{\left ({\rm Ei}\left (\sqrt{d x + c} b + \sqrt{b^{2} c}\right ) +{\rm Ei}\left (-\sqrt{d x + c} b - \sqrt{b^{2} c}\right )\right )} \cosh \left (-a + \sqrt{b^{2} c}\right ) + \frac{1}{2} \,{\left ({\rm Ei}\left (\sqrt{d x + c} b - \sqrt{b^{2} c}\right ) -{\rm Ei}\left (-\sqrt{d x + c} b + \sqrt{b^{2} c}\right )\right )} \sinh \left (a + \sqrt{b^{2} c}\right ) - \frac{1}{2} \,{\left ({\rm Ei}\left (\sqrt{d x + c} b + \sqrt{b^{2} c}\right ) -{\rm Ei}\left (-\sqrt{d x + c} b - \sqrt{b^{2} c}\right )\right )} \sinh \left (-a + \sqrt{b^{2} c}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\cosh{\left (a + b \sqrt{c + d x} \right )}}{x}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\cosh \left (\sqrt{d x + c} b + a\right )}{x}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]